(function(){
    var device_W = document.documentElement.clientWidth || document.body.clientWidth;
    document.documentElement.style.fontSize = device_W*100/1349 + "px";
    window.onresize = function(){
        var device_W = document.documentElement.clientWidth || document.body.clientWidth;
        document.documentElement.style.fontSize = device_W*100/1349 + "px";
    };
})();

// home轮播图配置
var mySwiper = new Swiper ('.swiper-container', {
        direction: 'horizontal',
        loop: false,
        autoplay : 2000,
        speed:1000,
        // 如果需要分页器
        pagination: '.swiper-pagination'
})